package com.ruoyi.column.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 专栏对象 sys_column
 * 
 * @author yjf
 */
public class SysColumn extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long columnId;

    /** 编号 */
    private Long columnNo;

    /** 专栏名称 */
    @Excel(name = "专栏名称")
    private String columnName;

    /** 专栏类型 */
    @Excel(name = "专栏类型")
    private Integer columnType;

    /** 专栏排序 */
    @Excel(name = "专栏排序")
    private Integer columnSort;

    /** 封面图片 */
    @Excel(name = "封面图片")
    private String columnImage;

    /** 详情 */
    @Excel(name = "详情")
    private String columnInfo;

    /** 审核状态 */
    @Excel(name = "审核状态")
    private Integer checkStatus;

    /** 发布状态 */
    @Excel(name = "发布状态")
    private Integer status;

    /** 发布时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "发布时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date releaseTime;

    /** 创建者ID */
    @Excel(name = "创建者ID")
    private Long userId;

    /** 删除标志0存在 2删除 */
    private String delFlag;

    /** 创建者昵称 */
    private String nickName;

    public Long getColumnNo() {
        return columnNo;
    }

    public void setColumnNo(Long columnNo) {
        this.columnNo = columnNo;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public void setColumnId(Long columnId)
    {
        this.columnId = columnId;
    }

    public Long getColumnId() 
    {
        return columnId;
    }
    public void setColumnName(String columnName) 
    {
        this.columnName = columnName;
    }

    public String getColumnName() 
    {
        return columnName;
    }
    public void setColumnType(Integer columnType) 
    {
        this.columnType = columnType;
    }

    public Integer getColumnType() 
    {
        return columnType;
    }
    public void setColumnSort(Integer columnSort) 
    {
        this.columnSort = columnSort;
    }

    public Integer getColumnSort() 
    {
        return columnSort;
    }
    public void setColumnImage(String columnImage) 
    {
        this.columnImage = columnImage;
    }

    public String getColumnImage() 
    {
        return columnImage;
    }
    public void setColumnInfo(String columnInfo) 
    {
        this.columnInfo = columnInfo;
    }

    public String getColumnInfo() 
    {
        return columnInfo;
    }
    public void setCheckStatus(Integer checkStatus) 
    {
        this.checkStatus = checkStatus;
    }

    public Integer getCheckStatus() 
    {
        return checkStatus;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setReleaseTime(Date releaseTime) 
    {
        this.releaseTime = releaseTime;
    }

    public Date getReleaseTime() 
    {
        return releaseTime;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("columnId", getColumnId())
            .append("columnName", getColumnName())
            .append("columnType", getColumnType())
            .append("columnSort", getColumnSort())
            .append("columnImage", getColumnImage())
            .append("columnInfo", getColumnInfo())
            .append("checkStatus", getCheckStatus())
            .append("status", getStatus())
            .append("releaseTime", getReleaseTime())
            .append("userId", getUserId())
            .append("delFlag", getDelFlag())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
